Open Lighting Architecture  0.9.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | List of all members
ola::Device Class Reference
Inheritance diagram for ola::Device:
ola::AbstractDevice ola::plugin::artnet::ArtNetDevice ola::plugin::dmx4linux::Dmx4LinuxDevice ola::plugin::dummy::DummyDevice ola::plugin::e131::E131Device ola::plugin::espnet::EspNetDevice ola::plugin::ftdidmx::FtdiDmxDevice ola::plugin::karate::KarateDevice ola::plugin::kinet::KiNetDevice ola::plugin::milinst::MilInstDevice ola::plugin::opendmx::OpenDmxDevice ola::plugin::osc::OSCDevice ola::plugin::pathport::PathportDevice ola::plugin::renard::RenardDevice ola::plugin::sandnet::SandNetDevice ola::plugin::shownet::ShowNetDevice ola::plugin::spi::SPIDevice ola::plugin::stageprofi::StageProfiDevice ola::plugin::uartdmx::UartDmxDevice ola::plugin::usbdmx::UsbDevice ola::plugin::usbpro::UsbSerialDevice

Public Member Functions

 Device (AbstractPlugin *owner, const std::string &name)
const std::string Name () const
void SetName (const std::string &name)
AbstractPluginOwner () const
std::string UniqueId () const
virtual std::string DeviceId () const =0
bool IsEnabled () const
bool Start ()
bool Stop ()
bool AllowLooping () const
bool AllowMultiPortPatching () const
bool AddPort (InputPort *port)
bool AddPort (OutputPort *port)
void InputPorts (std::vector< InputPort * > *ports) const
void OutputPorts (std::vector< OutputPort * > *ports) const
InputPortGetInputPort (unsigned int port_id) const
OutputPortGetOutputPort (unsigned int port_id) const
void DeleteAllPorts ()
virtual void Configure (ola::rpc::RpcController *controller, const std::string &request, std::string *response, ConfigureCallback *done)
template<class PortClass >
bool GenericAddPort (PortClass *port, map< unsigned int, PortClass * > *port_map)

Protected Member Functions

virtual bool StartHook ()
virtual void PrePortStop ()
virtual void PostPortStop ()

Additional Inherited Members

- Public Types inherited from ola::AbstractDevice
typedef BaseCallback0< void > ConfigureCallback

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