Alex Bikfalvi
SimStream Documentation
Channel.h
00001 #pragma once 00002 00003 #include "Address.h" 00004 00005 class CChannel 00006 { 00007 public: 00008 enum EType 00009 { 00010 CHANNEL_MULTICAST = 0, 00011 CHANNEL_UNICAST = 1 00012 }; 00013 00014 protected: 00015 __uint32 id; 00016 EType type; 00017 CAddress address; 00018 __bitrate bw; 00019 __byte fps; 00020 00021 public: 00022 CChannel() { } 00023 CChannel( 00024 __uint32 id, 00025 EType type, 00026 CAddress address, 00027 __bitrate bw, 00028 __byte fps 00029 ); 00030 virtual ~CChannel() { } 00031 00032 inline __uint32 Id() { return this->id; } 00033 inline EType Type() { return this->type; } 00034 inline CAddress Address() { return this->address; } 00035 inline __bitrate Bw() { return this->bw; } 00036 inline __byte Fps() { return this->fps; } 00037 };
Last updated: February 8, 2011