Lumiverse  2.5
A framework for creating lighting control applications
Public Member Functions | Private Attributes | List of all members
Lumiverse::ShowControl::PlaybackSnapshot Class Reference
Inheritance diagram for Lumiverse::ShowControl::PlaybackSnapshot:
Inheritance graph
[legend]
Collaboration diagram for Lumiverse::ShowControl::PlaybackSnapshot:
Collaboration graph
[legend]

Public Member Functions

 PlaybackSnapshot (Rig *rig, Playback *pb)
 
 PlaybackSnapshot (PlaybackSnapshot &other)
 
void saveSnapshot (Rig *rig, Playback *pb)
 
void loadSnapshot (Rig *targetRig, Playback *targetPb)
 
void loadPlayback (Playback *targetPb)
 
- Public Member Functions inherited from Lumiverse::ShowControl::Snapshot
 Snapshot (Rig *rig)
 
 Snapshot (Snapshot &other)
 
void saveSnapshot (Rig *rig)
 Saves a snapshot of the given Rig and Playback objects. More...
 
void loadSnapshot (Rig *targetRig)
 Loads the stored snapshot values into the given Rig and Playback objects. More...
 
void loadRig (Rig *targetRig)
 Loads the stored rig state into the given Rig. More...
 
map< string, Device * > & getRigData ()
 Retrieves device data from the snapshot.
 
set< Device * > getDevices ()
 Returns an unindexed set of the devices from the snapshot.
 

Private Attributes

JSONNode m_playbackData
 The entire playback object. We're getting a little lazy here (or efficient depending on your point of view) and leveraging existing functions for saving and loading playback data.
 

Additional Inherited Members

- Public Attributes inherited from Lumiverse::ShowControl::Snapshot
map< string, string > _metadata
 Arbitrary use metadata map for a snapshot object.
 
- Protected Attributes inherited from Lumiverse::ShowControl::Snapshot
map< string, Device * > m_rigData
 Stores the device data from the rig.
 

The documentation for this class was generated from the following files: